package com.service;

import java.sql.Date;
import java.util.List;

import javax.servlet.http.HttpSession;

import com.model.Employee;

public interface EmployeeService {
	public void add(String branch,Employee employee);

	public List<Employee> getAll(int page);
	
	public Employee get(Integer id);
	
	public void delete(Integer id);
	
	public List<Employee> getByDate(Date from,Date to); 
		
	public int getNoOfRecords();

	public List<Employee> getAllForUser(String name);
	public List<Employee> getAllForAdmin();

}
